package com.cc.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName: HelloController
 * @Description:
 * @Author: 晓东√
 * @Date: 2024-12-16 09:16
 * @Version: 1.0
 **/
@RestController
@RequestMapping("hello")
@Slf4j
public class HelloController {

    @GetMapping("say")
    public String say(){
        log.debug("say hello!");
        return "say Hello!";
    }
    @GetMapping("say1")
    public String say1(){
        log.debug("say hello!");
        return "say Hello! ---1";
    }
    @GetMapping("say2")
    public String say2(){
        log.debug("say hello!");
        return "say Hello! ---2";
    }
}
